<!DOCTYPE HTML>
<html>
<head>
    <title></title>
    <script language="JavaScript" src="../resource/base/mootools-core-1.4.5.js"></script>
    <script language="JavaScript" src="../resource/base/mootools-more-1.4.0.1.js"></script>
</head>
<script>
     alert((0.54).formatCurrency(3));
     alert((0.54).formatPercentage(3));

</script>
<body>

</body>
</html>